From: Florian Müllner Date: Mon, 3 Sep 2018 15:10:27 +0000 (+0200) Subject: app: Close all closable windows from quit() X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~929^2^2~46 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=87a645aa2b96d5db4da4c2ec80bf5b1c6e8cc7d3;p=gnome-shell.git app: Close all closable windows from quit() There's no relation between a window being hidden from overview/taskbars and a window not being closable - currently we effectively disable the fallback quit action for any application with open transients, which simply doesn't make sense. Instead, only exclude windows for which the close action has been explicitly disabled. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/217 --- diff --git a/src/shell-app.c b/src/shell-app.c index bb3f0b171..65c0b5574 100644 --- a/src/shell-app.c +++ b/src/shell-app.c @@ -1199,7 +1199,7 @@ shell_app_request_quit (ShellApp *app) { MetaWindow *win = iter->data; - if (meta_window_is_skip_taskbar (win)) + if (!meta_window_can_close (win)) continue; meta_window_delete (win, shell_global_get_current_time (shell_global_get ()));